package com.fin.zw.aiqas.model.response;

import com.fin.zw.aiqas.entity.RuleInfo;
import com.fin.zw.aiqas.enums.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Set;

@Data
public class TaskInfoResponse {
    //任务ID
    @ApiModelProperty(notes = "任务ID")
    private Long id;
    @ApiModelProperty(notes = "任务名称")
    private String name;
    @ApiModelProperty(notes = "任务类型-手动/自动")
    private TaskType taskType;
    // 自动 - 自动质检时间 - 每周/每天
    @ApiModelProperty(notes = "自动质检时间类型 -每周/每天")
    private TaskTimeType taskTimeType;
    @ApiModelProperty(notes = "检测时间")
    private String taskCron;

    @ApiModelProperty(notes = "通话时长类型")
    private LogicalCalculus durationLogic;
    @ApiModelProperty(notes = "通话时长开始数字")
    private BigDecimal num;
    @ApiModelProperty(notes = "通话时长结束数字")
    private BigDecimal endNum;

    @ApiModelProperty(notes = "呼叫方向")
    private Direction direction;
    @ApiModelProperty(notes = "抽检比例")
    private BigDecimal checkProp;
    @ApiModelProperty(notes = "质检规则ID")
    private Set<RuleInfo> ruleInfoSet;

    @ApiModelProperty(notes = "任务文件路径")
    private String taskFilePath;

    @ApiModelProperty(notes = "定时任务状态  停用/启用  ")
    private Status status;

    @ApiModelProperty(notes = "场景ID")
    private Long scenesInfoId;
}
